package com.sl.au.service;

import java.util.List;
import java.util.Map;

import com.sl.au.entity.AfterSaleTicket;
import com.sl.au.entity.ContractInfoView;
import com.sl.au.entity.ExdeContractPrudctP;
import com.sl.au.entity.Option;
import com.sl.au.entity.User;
import com.sl.au.repository.ExdeContractViewRepository;

public interface ContractViewService extends BaseService {

	ExdeContractViewRepository getExdeContractViewRepository();

	List<Option> getSaleArea();

	List<ContractInfoView> getContractInfos(int start, int length, Map<String, Object> condition, User user, String orderName, String dir);

	List<ContractInfoView> getBeijianView(int start, int length, String contractViewId, String contractViewType);

	long getBeijianViewCount(String contractViewId, String contractViewType);

	List<AfterSaleTicket> getAfterSaleTicket(int start, int length, Map<String, String> condition, String orderName, String dir);
	
	long getAfterSaleTicketCount( Map<String, String> condition);

	List<ExdeContractPrudctP> getSpeed(String supplierCode);

	Double getContractSum(Map<String, Object> condition, User user, String orderName, String dir);


}
